package com.fps.web.model;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.fpswork.datamodel.base.BaseSysDO;

/**
* @ClassName: Basedictionary
* @Description:数据字典
* @author Spf
* @date 2019-01-03
*/

@Entity
@Table(name="BASEDICTIONARY")
public class Basedictionary extends BaseSysDO{
  
	private static final long serialVersionUID = 1L;
	@Id
    @GenericGenerator(name="systemUUID",strategy="uuid")  
    @GeneratedValue(generator="systemUUID")  
    @Column(name = "id", insertable = true, updatable = true, nullable = false)
    private String id;
    /*上级类型（如果没有就默认为0）*/
    private String pid;

    /*字典名称*/
    private String dictionaryname;

    /*字典编号*/
    private String dictionarycode;

    /*类型编号*/
    private String typecode;

    /*类型顺序(1,2,3,4...)*/
    private int orderno;

    /*是否删除(0是未删除，1是已删除)*/
    private int isdelete;



    public String getId() {
    	return id;
    }
    public void setId(String id) {
    	this.id = id;
    }
    public String getPid() {
        return this.pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getDictionaryname() {
        return this.dictionaryname;
    }

    public void setDictionaryname(String dictionaryname) {
        this.dictionaryname = dictionaryname;
    }

    public String getDictionarycode() {
        return this.dictionarycode;
    }

    public void setDictionarycode(String dictionarycode) {
        this.dictionarycode = dictionarycode;
    }

    public String getTypecode() {
        return this.typecode;
    }

    public void setTypecode(String typecode) {
        this.typecode = typecode;
    }

    public int getOrderno() {
        return this.orderno;
    }

    public void setOrderno(int orderno) {
        this.orderno = orderno;
    }

    public int getIsdelete() {
        return this.isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }



}


